﻿using System;

namespace ZgOffice.Client.DelegateEvent
{
    public class PassDataWinFormEventArgs : EventArgs
    {
        public PassDataWinFormEventArgs()
        {
            //
        }
        public PassDataWinFormEventArgs(string refServer, string refUid, string refPwd, string refDataBase)
        {
            this._serveraddr = refServer;
            this._uid = refUid;
            this._pwd = refPwd;
            this._database = refDataBase;
        }

        private string _serveraddr;
        private string _uid;
        private string _pwd;
        private string _database;

        public string ServerAddr
        {
            get { return _serveraddr; }
            set { _serveraddr = value; }
        }
        public string Uid
        {
            get { return _uid; }
            set { _uid = value; }
        }
        public string Pwd
        {
            get { return _pwd; }
            set { _pwd = value; }
        }
        public string Database
        {
            get { return _database; }
            set { _database = value; }
        }
    }
}
